package com.jash.porject;

import android.graphics.Bitmap;
import android.os.AsyncTask;

public class ImageTask extends AsyncTask<String, Void, Bitmap>{
    private NetDrawable drawable;

    public ImageTask(NetDrawable drawable) {
        this.drawable = drawable;
    }

    @Override
    protected Bitmap doInBackground(String... params) {
        return null;
    }

    @Override
    protected void onPostExecute(Bitmap bitmap) {
        super.onPostExecute(bitmap);
        drawable.setBitmap(bitmap);
    }
}
